package com.phoebe.auth.config;



import com.phoebe.auth.rest.ClientSecretResource;
import com.phoebe.auth.rest.SecurityResource;
import com.phoebe.auth.rest.UserRoleResource;
import org.springframework.stereotype.Component;
import org.springframework.web.filter.RequestContextFilter;

import javax.ws.rs.ApplicationPath;

/*@Component
@ApplicationPath("api")
public class JerseyConfig extends ResourceConfig {
    public JerseyConfig() {
        register(RequestContextFilter.class);
        register(ClientSecretResource.class);
        //配置restful package.
        register(SecurityResource.class);
        register(UserRoleResource.class);
    }
}*/
